//
// Created by Nasa on 2024/7/7.
//

#include <iostream>
#include <vector>
using namespace std;

void printVector(vector<int> l,int i)
{
    cout<<l[i];
    if(i<l.size()-1)
    {
        printVector(l,i+1);
    }
}

int main()
{
    vector<int> s{1,2,3,4,6,7,8};
    printVector(s,0);
    return 0;
}